package org.cloudie.docs.editor.client.icons.desktop;

import org.cloudie.docs.editor.client.behaviors.HasDropBehavior;
import org.cloudie.docs.editor.client.commands.Command;
import org.cloudie.docs.editor.client.widgets.DesktopIcon;

import com.google.gwt.user.client.ui.Widget;

public class ShortcutDesktopIcon extends DesktopIcon implements HasDropBehavior {

  public ShortcutDesktopIcon(String id, String label, String image,
	  String tooltip, Command cmd) {
    super(id, label, image, tooltip, cmd);
  }

  @Override
  public boolean allowsDropping(Widget receiver) {
    return true;
  }
  
  @Override
  public boolean allowsDropping() {
    return true;
  }

}
